package com.tangshuai.video.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

/**
 * @Author TANGSHUAI
 * @Date 2024-03-03 21:52
 * 视频信息
 **/
public class VideoInfo {
    // ID
    @TableId(type = IdType.AUTO)
    private Integer id;
    // 视频名称
    private String videoName;
    // 视频分类
    private Integer videoClassification;
    // 视频图片
    private String videoImage;
    // 视频描述
    private String videoDescription;
    // 更新信息
    private String updateInfo;
    // 地区
    private String area;
    // 情节
    private String storyLine;
    // 更新到第几集
    private Integer whichEpisode;
    // 类型
    private String videoType;
    // 年代
    private String years;
    // 创建时间
    private Date create_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public Integer getVideoClassification() {
        return videoClassification;
    }

    public void setVideoClassification(Integer videoClassification) {
        this.videoClassification = videoClassification;
    }

    public String getVideoImage() {
        return videoImage;
    }

    public void setVideoImage(String videoImage) {
        this.videoImage = videoImage;
    }

    public String getVideoDescription() {
        return videoDescription;
    }

    public void setVideoDescription(String videoDescription) {
        this.videoDescription = videoDescription;
    }

    public String getUpdateInfo() {
        return updateInfo;
    }

    public void setUpdateInfo(String updateInfo) {
        this.updateInfo = updateInfo;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getStoryLine() {
        return storyLine;
    }

    public void setStoryLine(String storyLine) {
        this.storyLine = storyLine;
    }

    public Integer getWhichEpisode() {
        return whichEpisode;
    }

    public void setWhichEpisode(Integer whichEpisode) {
        this.whichEpisode = whichEpisode;
    }

    public String getVideoType() {
        return videoType;
    }

    public void setVideoType(String videoType) {
        this.videoType = videoType;
    }

    public String getYears() {
        return years;
    }

    public void setYears(String years) {
        this.years = years;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public VideoInfo(Integer id, String videoName, Integer videoClassification, String videoImage, String videoDescription, String updateInfo, String area, String storyLine, Integer whichEpisode, String videoType, String years, Date create_time) {
        this.id = id;
        this.videoName = videoName;
        this.videoClassification = videoClassification;
        this.videoImage = videoImage;
        this.videoDescription = videoDescription;
        this.updateInfo = updateInfo;
        this.area = area;
        this.storyLine = storyLine;
        this.whichEpisode = whichEpisode;
        this.videoType = videoType;
        this.years = years;
        this.create_time = create_time;
    }

    public VideoInfo() {
    }

    @Override
    public String toString() {
        return "VideoInfo{" +
                "id=" + id +
                ", videoName='" + videoName + '\'' +
                ", videoClassification=" + videoClassification +
                ", videoImage='" + videoImage + '\'' +
                ", videoDescription='" + videoDescription + '\'' +
                ", updateInfo='" + updateInfo + '\'' +
                ", area='" + area + '\'' +
                ", storyLine='" + storyLine + '\'' +
                ", whichEpisode=" + whichEpisode +
                ", videoType='" + videoType + '\'' +
                ", years='" + years + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}
